#define _CRT_SECURE_NO_WARNINGS 1
#include"St.h"

void test1()
{
	Stack s;
	StackInit(&s);
	int size=StackSize(&s);
	printf("%d\n", size);

	StackPush(&s, 1);
	StackPush(&s, 13);
	StackPush(&s, 12);
	StackPush(&s, 8);
	StackPush(&s, 6);
	StackPush(&s, 5);

	int s1=StackTop(&s);
	printf("%d\n", s1);

	StackPop(&s);
	StackPop(&s);
	StackPop(&s);
	StackPop(&s);
	StackPop(&s);


	int s2 = StackTop(&s);
	printf("%d\n", s2);


	StackDestroy(&s);
}
int main()
{
	test1();
	return 0;
}